Skip to content

fix scrolling in notifications applet by setting a maximum height#13762

Open
archisman-panigrahi wants to merge 1 commit into
linuxmint:masterfrom
archisman-panigrahi:notifications-scroll
Open

fix scrolling in notifications applet by setting a maximum height#13762
archisman-panigrahi wants to merge 1 commit into
linuxmint:masterfrom
archisman-panigrahi:notifications-scroll

Conversation

@archisman-panigrahi
Copy link
Copy Markdown

@archisman-panigrahi archisman-panigrahi commented May 14, 2026

This will Fix #13761 by setting a maximum height for the notification applet, beyond which, the scrollbar will appear. Previously, the height was growing beyond the screen size, and the scrollbar never appeared.

@archisman-panigrahi
Copy link
Copy Markdown
Author

archisman-panigrahi commented May 14, 2026

Now the scrollbar is shown after applying the fix:

Untitled

Compare to what happened before applying the fix:

image

@claudiux
Copy link
Copy Markdown
Member

I'm afraid this solution won't work with the next version of Cinnamon.
The CSS property max-height is deprecated.

@archisman-panigrahi
Copy link
Copy Markdown
Author

The CSS property max-height is deprecated.

What is the alternative?

@claudiux
Copy link
Copy Markdown
Member

Using height, after calculating the required height. I'm running into this problem with one of my applets.

@anaximeno
Copy link
Copy Markdown
Contributor

Using height, after calculating the required height. I'm running into this problem with one of my applets.

I'm afraid this solution won't work with the next version of Cinnamon. The CSS property max-height is deprecated.

Are you sure it has been deprecated? I can't find any references to that into the cinnamon code, also it seems to still be used in the codebase. I tested this with Cinnamon 6.7 on the LM 23 alfa and seems to be working as well.

I ask this because I'm planning to use max-height as well in this pr #13640 (I initially thought this PR was similar to mine, but this is directed towards the notification applet menu, while I'm handling the notification pop-up).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot scroll throught the notifications list as the length of the list grows indefinitely (gets cut off) and the scrollbar is never shown

3 participants